package com.patMall.service;

import com.patMall.entity.BrowsingHistory;

import java.util.List;

/**
 * @Author 750909637@qq.com
 * @PackageName patMall
 * @Package com.patMall.service
 * @Date 2024/2/13 9:33
 * @Version 1.0
 */
public interface BrowsingHistoryService {
    int addBrowsingHistory(BrowsingHistory browsingHistory);
    int updateBrowsingHistory(BrowsingHistory browsingHistory);
    BrowsingHistory getBrowsingHistory(Integer commodityId);
    List<BrowsingHistory> getBrowsingHistoryCommodity(Integer userId);
}
